import { PORT1 } from "@/api/config/servicePort";
import Http from "@/api/index";

// pc端
const PCUrl = PORT1 + "/system/shop/swiper/pc";

export const addSwiper = (params: any) => {
  return Http.post(PCUrl + "/add", params);
};

export const getSwiper = (type: number = 0) => {
  return Http.get(PCUrl + "/list?type=" + type);
};
